from sqlalchemy import Column, String, Text

from app.models.base import BaseModel


class SysConfig(BaseModel):
    """
    系统配置表
    """
    __tablename__ = "sys_config"
    
    code = Column(String(64), nullable=False, unique=True, index=True, comment="唯一代码")
    value = Column(Text, comment="配置值")
    remarks = Column(String(500), comment="备注")